package com.cskaoyan.bean.bo.vxBo;

import lombok.Data;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @projectName: seeonproject1
 * @package: com.cskaoyan.bean.bo.vxBo
 * @className: CartCheckedBo
 * @author: YangDongpeng
 * @description:
 * @date: 2022/6/7 17:37
 * @version: 1.0
 */
@Data
@Repository


public class CartCheckedBo {
    private List<Integer> productIds;
    private int isChecked;

    public List<Integer> getProductIds() {
        return productIds;
    }

    public void setProductIds(List<Integer> productIds) {
        this.productIds = productIds;
    }

    public int getIsChecked() {
        return isChecked;
    }

    public void setIsChecked(int isChecked) {

        if(isChecked==1){this.isChecked=0;}else {this.isChecked=1;}
        this.isChecked = isChecked;
    }
}
